added "formatter" to all functions that produce text edits directly - #2872
Open
jurgenvinju wants to merge 5 commits into
Open
added "formatter" to all functions that produce text edits directly#2872jurgenvinju wants to merge 5 commits into
jurgenvinju wants to merge 5 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2872 +/- ##
=======================================
Coverage 45% 45%
- Complexity 6801 6808 +7
=======================================
Files 844 844
Lines 68785 68785
Branches 10023 10023
=======================================
+ Hits 31344 31371 +27
+ Misses 35066 35044 -22
+ Partials 2375 2370 -5 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
DavyLandman
approved these changes
Aug 28, 2026
toinehartman
requested changes
Aug 28, 2026
toinehartman
left a comment
Member
There was a problem hiding this comment.
Better names! Like @DavyLandman pointed out, the renaming is not complete, as the old names appear at use sites and in the tutor documentation in various places. I tried to point them all out.
Member
Author
|
Thanks for the help @toinehartman. This is now ready to rumble. |
|
toinehartman
approved these changes
Aug 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR solidifies the support in
util::Formattersfor Box-based formatting with better function names, documentation, demo's and tests.util::Formattersto always haveFormatterin their name. For examplesubTreeEditsis now calledsubTreeEditFormatterbecause it generates a formatter function that takes subTrees as arguments and produces edits as output that format the input.